package com.micromall.repository;

import com.github.pagehelper.Page;
import com.micromall.repository.entity.WithdrawApplyRecord;
import com.micromall.repository.entity.admin.AdminWithdrawApplyRecord;
import com.micromall.utils.Condition;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.Map;

@Repository
public interface WithdrawApplyRecordMapper extends BaseMapper<WithdrawApplyRecord> {

	BigDecimal withdrawStat(Condition condition);

	Page<AdminWithdrawApplyRecord> selectAdminPage(Map<String, Object> params, RowBounds bounds);
}